using System;
using System.Data;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace HomeCare
{
    public partial class XRInvoicePaymentReport : DevExpress.XtraReports.UI.XtraReport
    {
        public XRInvoicePaymentReport(DataSet ds)
        {
            InitializeComponent();

            this.DataSource = ds.Tables[0];
        }

        public void setInfo(DateTime dtFrom, DateTime dtTo, String patientName)
        {
            XRLB_Header.Text = "Payment Claimed & Received Report From " +
                               dtFrom.ToShortDateString() + " To " +
                               dtTo.ToShortDateString() + " For " + patientName;
        }
    }
}
